package org.lingshi.entity;

public class BaseEntity {
    protected String formatTime(String time){
        if( time==null ) return "";
        int index = time.lastIndexOf(":");
        if(index!=-1){
            return time.substring(0,index);
        }
        return time;
    }
}
